import request from '@/utils/request'
// 官网
// 添加、修改官网后台新闻分类
export function websiteclassifySave(data) {
    return request({
        url: '/system/website/websiteclassify/save',
        method: 'post',
        params: data,
        loading: false,
    })
}

// 删除官网后台新闻分类
export function websiteclassifyDel(data) {
    return request({
        url: '/system/website/websiteclassify/del',
        method: 'post',
        params: data,
        loading: false,
    })
}


// 查询官网后台新闻分类
export function websiteclassifyQuery(data) {
    return request({
        url: '/system/website/websiteclassify/query',
        method: 'post',
        params: data,
        loading: false,
    })
}


// 查询官网后台新闻
export function websitenewsQuery(data) {
    return request({
        url: '/system/website/websitenews/query',
        method: 'post',
        params: data,
        loading: false,
    })
}

// 删除官网后台新闻
export function websitenewsDel(data) {
    return request({
        url: '/system/website/websitenews/del',
        method: 'post',
        params: data,
        loading: false,
    })
}
// 添加、修改官网后台新闻
export function websitenewsSave(data) {
    return request({
        url: '/system/website/websitenews/save',
        method: 'post',
        params: data,
        loading: false,
    })
}